package org.example.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("itrip_image")
public class ItripImage implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;
    @TableField("type")
    private String type;
    @TableField("targetId")
    private Long targetId;
    @TableField("position")
    private Integer position;
    @TableField("imgUrl")
    private String imgUrl;
    @TableField("creationDate")
    private Date creationDate;
    @TableField("createdBy")
    private Long createdBy;
    @TableField("modifyDate")
    private Date modifyDate;
    @TableField("modifiedBy")
    private Long modifiedBy;
}
